package com.mt.api.modules.controller;

import com.mt.api.modules.domain.bo.PrinterUpdateBo;
import com.mt.api.modules.service.IBossPrinterService;
import com.mt.common.response.WebResponse;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: plover
 * @Date: 2022/01/18 10:34 上午
 * @Description:
 */
@RestController
@RequestMapping("/app/boss/printer")
@RequiredArgsConstructor
public class BossPrinterController {

    private final IBossPrinterService bossPrinterService;


    @PostMapping("/update")
    public WebResponse updateBossPrinter(@RequestBody PrinterUpdateBo printerUpdateBo) {
        return bossPrinterService.updateBossPrinter(printerUpdateBo);
    }

}
